import Taro from '@tarojs/taro';
import { IConfig } from './interface';

export const Config: IConfig = {
  host: '',
  baseURL: Taro.getEnv() === 'WEAPP' ? 'https://baikecount.com' : '',
  获取王者荣耀英雄列表: {
    url: '/mm/api/wzry/getHero.php',
    method: 'GET',
  },
  获取王者荣耀英雄详情: {
    url: '/mm/api/wzry/getHeroDetail.php',
    method: 'GET',
  },
};

export const heroTypes = ['战士', '法师', '坦克', '刺客', '射手', '辅助'];
